package com.good.shopping.order.to;

import com.good.shopping.order.entity.OrderEntity;
import com.good.shopping.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 *  创建订单
 * @author shengren.yan
 * @create 2022-03-17
 */
@Data
public class OrderCreateTo {

    // 订单
    private OrderEntity order;

    // 订单项信息
    private List<OrderItemEntity> orderItems;

    /** 订单计算的应付价格 **/
    private BigDecimal payPrice;

    /** 运费 **/
    private BigDecimal fare;

}
